package com.qiaofang.collectmanage.service;
import java.util.List;
import com.qiaofang.common.model.page.PageDTO;
import com.qiaofang.collectmanage.stub.bean.CrawlerSubTaskDTO;
import com.qiaofang.collectmanage.stub.bean.SearchCrawlerSubTaskDTO;
import com.qiaofang.collectmanage.stub.bean.ListCrawlerSubTaskDTO;
import com.qiaofang.collectmanage.stub.bean.SaveCrawlerSubTaskDTO;
import com.qiaofang.collectmanage.stub.bean.UpdateCrawlerSubTaskDTO;

/**
* Created by generator on 2018-8-1 14:39:02
*/
public interface CrawlerSubTaskService {

    public CrawlerSubTaskDTO getCrawlerSubTaskByUuid(String uuid);

    public CrawlerSubTaskDTO getCrawlerSubTaskBySubTask(CrawlerSubTaskDTO dto);

    public int saveCrawlerSubTask(SaveCrawlerSubTaskDTO dto);

    public int updateCrawlerSubTask(UpdateCrawlerSubTaskDTO dto);


    public int removeCrawlerSubTaskByUuid(String uuid);

    public List<CrawlerSubTaskDTO> listCrawlerSubTask(ListCrawlerSubTaskDTO dto);

    public List<CrawlerSubTaskDTO> listCrawlerSubTaskByUuids(List<String> uuidList);

    public Long countCrawlerSubTask(CrawlerSubTaskDTO dto);

    public List<CrawlerSubTaskDTO> searchCrawlerSubTaskByPermission(SearchCrawlerSubTaskDTO dto, PageDTO page);

    public Long countCrawlerSubTaskByPermission(SearchCrawlerSubTaskDTO dto);



}
